package com.yao.dao;
 

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yao.domain.User;
 
@Mapper
public interface UserMapper {

    User findByName(@Param("name") String name);
    
    int insert(@Param("name")  String name, @Param("age") Integer age);

    void delete(@Param("id") long id);
}